#ifndef _NE_GLSL_FILE_FORMAT_H_
#define _NE_GLSL_FILE_FORMAT_H_

#include <neinit.h>

namespace ne
{
    const uint32_t GLSL_FILE_MAGIC_NUMBER = 0x1222;
    const uint32_t GLSL_FILE_VERSION = 1;
    const size_t MAX_STRING_LENGTH_IN_GLSL_FILE = 0x80;

    struct GLSLProgramHeader
    {
        uint32_t mMagicNum;
        uint32_t mVersion;
        char mName[MAX_STRING_LENGTH_IN_GLSL_FILE];
        uint32_t mNumShaders;
        uint32_t mShaderOffset;
    };

    struct GLSLShaderHeader
    {
        char mName[MAX_STRING_LENGTH_IN_GLSL_FILE];
        uint32_t mType;
    };
}

#endif
